app.controller('RelatedPerCtrl', ['$scope','$state', '$stateParams','$http','DiagramService','$anchorScroll','$location',RelatedPerCtrl]);

function RelatedPerCtrl($scope,$state, $stateParams,$http,DiagramService,$anchorScroll,$location){
		$anchorScroll.yOffset = -40; 
	$location.hash('');
	$anchorScroll();
	console.log($stateParams.id)
	$scope.netPers = [
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		}
	]

	$scope.hotelPers = [
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		}
	]

	$scope.tempPers = [
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		}
	]

	$scope.recordPers = [
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		},
		{
			xm:'王晓明',
			df:26,
			img:'../img/test.png',
			sfzh:'420381199310154333'
		}
	]

	$scope.goXq =function(sfzh){
	  var url = $state.href('app.netbar.info',{id:sfzh});
	  window.open(url,'_blank');
	}
}
